ContextRealtimeData

data class ContextRealtimeData(currentTime: Double, renderCapacity: Double, callbackIntervalMean: Double, callbackIntervalVariance: Double)

Fields in AudioContext that change in real-time.

Constructors

ContextRealtimeData
Link copied to clipboard
fun ContextRealtimeData(currentTime: Double, renderCapacity: Double, callbackIntervalMean: Double, callbackIntervalVariance: Double)

Properties

callbackIntervalMean
Link copied to clipboard
val callbackIntervalMean: Double
A running mean of callback interval.
callbackIntervalVariance
Link copied to clipboard
val callbackIntervalVariance: Double
A running variance of callback interval.
currentTime
Link copied to clipboard
val currentTime: Double
The current context time in second in BaseAudioContext.
renderCapacity
Link copied to clipboard
val renderCapacity: Double
The time spent on rendering graph divided by render qunatum duration, and multiplied by 100.

Sources

jvm source
Link copied to clipboard